﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="AdvancedSearchView.aspx.cs" 
Inherits="XMK.Tadong.Web.Views.DataSearch.AdvancedSearchView" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title><%: lang.Get("Advanced search")%></title>
    <link href="../../weblib/skins/layout.css" rel="stylesheet" type="text/css" />
    <link href="../../weblib/jquery.easyui/themes/default/easyui.css" rel="stylesheet"
        type="text/css" />
    <link href="../../weblib/jquery.easyui/themes/icon.css" rel="stylesheet" type="text/css" />
    <script src="../../webjs/core/config.js" type="text/javascript"></script>
    <script src="../../weblib/jquery/jquery-1.8.0.min.js" type="text/javascript"></script>
    <script src="../../weblib/jquery/jquery.adaptor.js" type="text/javascript"></script>
    <script type="text/javascript" src="../../weblib/jquery.easyui/jquery.easyui.min.js"></script>
    <script src="../../WebFileExplorer/My97DatePicker/WdatePicker.js" type="text/javascript"></script>
    

</head>
<body>
    <form id="form1" runat="server" action="CommonSearchView.aspx" method="post">
    <input type="hidden" value="0" name="qs" />
    <div style="margin-top:60px;">
        <table class="searchTable" style="margin:0px auto; width: 1000px;">
            <tbody>
                <tr>
                    <td height="35" class="padl10">
                        <b><%: lang.Get("Search results")%></b>
                    </td>
                    <td width="28%">
                        <%: lang.Get("Include the following")%> <b><%: lang.Get("all")%> </b> <%: lang.Get("SPACE_Key_word")%>
                    </td>
                    <td width="31%">
                        <input class="borderInput inputSize" name="qand">
                    </td>
                    <td>
                        <input type="submit" id="btnSearch" class="bg s_btn" value="<%= lang.Get("Search")%>" />
                    </td>
                </tr>
                <tr>
                    <td width="25%" height="35" class="padl10">
                    </td>
                    <td width="24%">
                        <%: lang.Get("Include the following")%> <b><%: lang.Get("Any one")%> </b><%: lang.Get("SPACE_Key_word")%>
                    </td>
                    <td width="31%" colspan="2">
                        <input class="borderInput  inputSize" name="qor">
                    </td>
                </tr>
                <tr>
                    <td width="16%" height="35" class="padl10">
                        <b><%: lang.Get("Time")%></b>
                    </td>
                    <td>
                        <p>
                            <%: lang.Get("The document creation time")%></p>
                    </td>
                    <td colspan="2">
                        <input type="radio" name="s" value="1" checked="checked" />
                        <select name="mt" class="easyui-combobox" onchange="changeRadio(1);">
                            <option value="0" selected=""><%: lang.Get("all time")%></option>
                            <option value="1"><%: lang.Get("last day")%></option>
                            <option value="2"><%: lang.Get("last week")%></option>
                            <option value="3"><%: lang.Get("last month")%></option>
                            <option value="4"><%: lang.Get("last year")%></option>
                        </select>
                        <input type="hidden" name="lm" />
                    </td>
                </tr>
                <tr>
                    <td height="35">
                    </td>
                    <td>
                    </td>
                    <td colspan="2">
                        <input type="radio" name="s" value="2" />
                        <span>
                            <input runat="Server"  name="startDate" type="text" class="borderInput" style="height: 20px;" size="15"
                                 id="startDate" onclick="WdatePicker()" />
                            <span>-</span>
                            <input runat="Server" name="endDate" class="borderInput" style="height: 20px;" type="text" size="15"
                                id="endDate" onclick="WdatePicker()" />
                        </span>
                    </td>
                </tr>
            </tbody>
        </table>
        <br />
        <table class="searchTable" style="margin: 0 auto; width: 1000px;">
            <tr bgcolor="#ffffff">
                <td width="25%" height="35" class="padl10">
                    <b><%: lang.Get("Keywords location")%></b>
                </td>
                <td width="28%">
                    <%: lang.Get("Query keywords location")%>
                </td>
                <td colspan="2">
                    <label for="ckmeta">
                        <input type="checkbox" name="ckmeta" id="ckmeta" value="1"  />
                        <%: lang.Get("Metadata(Including the objectives, business and author")%></label>
                    <label for="cktit">
                        <input type="checkbox" name="cktit" id="cktit" value="2" checked="checked">
                        <%: lang.Get("Title")%></label>
                    <label for="ckcont">
                        <input type="checkbox" name="ckcont" id="ckcont" value="3"  checked="checked">
                        <%: lang.Get("Text")%></label>
                </td>
            </tr>
            <tr bgcolor="#ffffff">
                <td height="35" class="padl10">
                    <b><%: lang.Get("Search results ranking method")%></b>
                </td>
                <td>
                    <%: lang.Get("Selected search result ranking method")%>
                </td>
                <td colspan="2">
                    <select class="easyui-combobox" name="sortby">
                        <option value="1" selected="selected"><%: lang.Get("Amount of Downloads")%></option>
                        <option value="2"><%: lang.Get("File creation time")%></option>
                    </select><i id="tip" style="font-style: normal; color: gray; font-size: 10pt; margin-left: 10px;
                        display: none;"><%: lang.Get("The title search results according to the time order")%></i>
                    <input type="hidden" name="ct" value="1">
                </td>
            </tr>
            <tr bgcolor="#ffffff">
                <td width="16%" height="35">
                    <b><%: lang.Get("Number display search results")%></b>
                </td>
                <td width="24%">
                    <%: lang.Get("Select the number display search results")%>
                </td>
                <td colspan="2">
                    <select class="easyui-combobox" name="psize">
                        <option value="10"><%: lang.Get("Display 10 items per page")%></option>
                        <option value="20" selected="selected"><%: lang.Get("Display 20 items per page")%></option>
                        <option value="50"><%: lang.Get("Display 50 items per page")%></option>
                        <option value="100"><%: lang.Get("Display 100 items per page")%></option>
                    </select>
                </td>
            </tr>
        </table>
    </div>
    </form>
</body>
</html>
